import { MidwayHttpError, HttpStatus } from '@midwayjs/core';

export class BadRequestError extends MidwayHttpError {
  constructor(message: string) {
    super(message, HttpStatus.BAD_REQUEST);
  }
}
